/*
 * Copyright 2014 NAVER Corp.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.ideal.hbase.client.constants;

import java.nio.charset.Charset;

/**
 * @author emeroad
 */
public final class HbaseConstants {
	
    public static final Charset CHARSET = Charset.forName("UTF-8");

	public static final int APPLICATION_NAME_MAX_LEN = 24;

	public static final int AGENT_NAME_MAX_LEN = 24;

	public static final int DEFAULT_POOL_SIZE = 256;
	
	public static final int DEFAULT_WORKER_QUEUE_SIZE = 1024 * 5;
	
	public static final boolean DEFAULT_PRESTART_THREAD_POOL = false;

	public static final int DEFAULT_MAX_THREADS_FOR_PARALLEL_SCANNER = 128;
	
	public static final int DEFAULT_MAX_THREADS_PER_PARALLEL_SCAN = 1;

	public static final long DEFAULT_DESTORY_TIMEOUT = 2000;
	
}
